package com.wzh.loveEmail.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 天行api配置
 *
 * @author wzh
 */
@Data
@Component
@ConfigurationProperties(prefix = "tianapi")
public class TianApiConfig {

    private String appKey;

    /**
     * 天气的地区
     */
    private String area;
}
